<!--
 * @Author: 张辰龙 zhangchenlong@julimeng.com
 * @Date: 2025-06-04 09:04:45
 * @LastEditors: 张辰龙 zhangchenlong@julimeng.com
 * @LastEditTime: 2025-06-25 10:39:09
 * @FilePath: /zrreportWxMp/pages/product/index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
    <!-- #ifdef MP-WEIXIN -->
    <page-meta :page-style="pageStyle" />
    <!-- #endif -->
    <view class="wrap">
        <topHeader :PageName="'产品匹配'"></topHeader>
        <image style="width: 100%; height: 523rpx;"
            src="https://julimeng-prod.oss-cn-hangzhou.aliyuncs.com/managehub/static/product/%E7%BC%96%E7%BB%84%203-2.png"
            mode="scaleToFill" />
        <matchCard></matchCard>
        <Activity :type="activityType" v-model="showActivity" :money="activityMoney" />
    </view>
</template>
<script>
import topHeader from '@/components/topHeader.vue'
import matchCard from './components/matchCard.vue'
import ActivityMixin from '@/mixins/activity.js'
import Activity from '@/pages/components/activity.vue'
import LockScrollMixin from '@/mixins/lockScroll.js'

export default {
    components: {
        topHeader,
        matchCard,
        Activity
    },
    mixins: [ActivityMixin, LockScrollMixin],
    // #ifdef MP-WEIXIN
    onShareAppMessage: function (res) {
        if (res.from === 'button') { }
        console.log(this.showActivity, this.activityType)
        return {
            title: '产品匹配',
            path: `/pages/product/index`,
        }
    },
    // #endif
    data() {
        return {

        }
    },
    methods: {
        onTabItemTap() {
            let params = {
                Um_Key_ButtonName: 'tabbar-产品匹配',
                Um_Key_SourcePage: '产品匹配',
            }
            this.$umaTrack.pageClickTrack(params)
        },
    },
}
</script>
<style lang="scss">
page {
    background-color: #F2F9FF !important;


}


/deep/ .au-btn-text {
    color: #333 !important;
}
</style>

<style scoped>
.wrap {
    background: linear-gradient(180deg, #CAE2FF 0%, #F2F9FF 23%, #FBFBFB 100%);
    padding-bottom: 30rpx;
}
</style>